package com.tuling.designpattern.command.expand;

/**
 * @author 林瑞涛
 * @desc 树叶构件: 具体命令2
 * @date 2021年08月03日 15:42
 */
public class ConcreteCommand2 extends AbstractCommand {

    private CompositeReceiver receiver;
    ConcreteCommand2() {
        receiver = new CompositeReceiver();
    }
    public void execute() {
        receiver.action2();
    }
}
